'''
Created on 05/05/2010

@author: emlyn
'''
from google.appengine.ext import db
from PSLesson import PSLesson
from PSInvoice import PSInvoice
from DataClass import SiteUser

class PSLineItem(db.Model):
    user = db.ReferenceProperty(SiteUser)
    pslesson = db.ReferenceProperty(PSLesson)
    psinvoice = db.ReferenceProperty(PSInvoice)
    islessonitem = db.BooleanProperty()
    nonlessondescription = db.StringProperty(multiline=False)
    quantity = db.IntegerProperty()
    costcentsperunit = db.IntegerProperty()
